<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>科技文献管理系统</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		#xuexiao{
			color:#555;
		}
		#xuexiao:hover{
			color:#3a87ad;
		}
	</style>
</head>
<body onload="showTime()">
		<%@include file="include/topbar.jsp" %>
		
		<div class="container" style="margin-top: 60px">
			<div class="row">
			<jsp:include page="include/left.jsp" >
				<jsp:param value="main" name="tag"/>
			</jsp:include>
				
			
			<div class="span9" style="min-height:500px">
				<ul class="breadcrumb" style="border-radius:3px 3px 0 0;margin-bottom:0px;">
        				<li ><h4><i class="icon-home"></i>欢迎您，${user.username }</h4></li><span id="time" class="pull-right"></span>
     			</ul>
     			<div class="wall" style="padding:20px 50px;min-height:350px;font-size:14px;font-weight:bold">
     				<h4>欢迎使用本系统，您可以进行如下操作：</h4>
     				<ol>
     					&nbsp;<li>维护自己的信息。</li><br/>
     					<li>查询所有文献信息。</li><br/>
     					<li>下载文献。</li><br/>
     					<li>共享文献。</li><br/>
     					<c:if test="${sessionScope.user.role eq 'admin' }">
     						<li>添加、删除、修改文献信息。</li><br/>
     						<li>用户,权限管理。</li>
     					</c:if>
     				</ol>
     			</div>
			</div>	
			
			
			</div>
			</div>
			<%@include file="include/footer.jsp" %>
			<script type="text/javascript">
				
					function showTime(){
						var date = new Date();
						
						time = date.toLocaleString();
						
						$("#time").text(time);
						
						setTimeout("showTime()",1000);
						
					} 
				
				
			</script>
	
</body>
</html>